﻿<%@ Page Title="" Language="C#" MasterPageFile="~/SiteUser.Master" AutoEventWireup="true" CodeBehind="changepassword.aspx.cs" Inherits="ProjectSem3.WebForm9" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<script language="javascript" type="text/javascript">
    $(document).ready(function () {
        $('#form1').validate({
            rules: {
                <%=TextBoxPasswordCurrent.UniqueID %>: {
                    required: true
                },
                <%=TextBoxNewPassword.UniqueID %>: {
                    required: true
                }
            }
        });
    });
</script>
<style type="text/css">
    label.error
    {
        margin-left:60px;
        color:Red;
        }
</style>


<div style=" width:665px; height:500px;">
    <ul style="list-style-type: none; margin-left:205px;">
        <li style="margin-bottom:-45px;">
            <h3>&nbsp;</h3>
        </li>
       
    </ul>
    <div  style="width:500px; height:560px; margin:30px 0 0 60px;" >
    <h3 style="color: #0000FF; font-size: 16px; margin-left:10px;margin-bottom:60px" align="center">Change Password</h3>
    <ul  style="list-style-type: none; margin-left:75px; margin-bottom:10px"  id="ultext" runat="server">
     <li style=" margin-bottom: 20px">
                <asp:Label ID="Label4" runat="server" Text="Current Password" style=" margin-bottom: 10px"></asp:Label><asp:TextBox
                    ID="TextBoxPasswordCurrent" runat="server" style="margin-left:40px; margin-bottom:0px" 
                    TextMode="Password"></asp:TextBox>
                     <asp:Label ID="LabelKQ1" runat="server" ForeColor="Red"></asp:Label>
            </li>
     <li style=" margin-bottom: 20px" >
                <asp:Label ID="Label5" runat="server" Text="New Password"></asp:Label><asp:TextBox
                    ID="TextBoxNewPassword" runat="server" style="margin-left:58px; margin-bottom:0px" 
                    TextMode="Password"></asp:TextBox>&nbsp
            </li>
   <li style=" margin-bottom: 20px">
                <asp:Label ID="Label6" runat="server" Text="Confirm Password"></asp:Label><asp:TextBox
                    ID="TextBoxPasswordConfirm" runat="server" style="margin-left:40px" 
                    TextMode="Password"></asp:TextBox>
                    <asp:Label ID="LabelKQ2" runat="server" ForeColor="Red"></asp:Label>
            </li>
            <asp:Label ID="LabelKQ3" runat="server" ForeColor="Red"></asp:Label>
            <li>
                
                <asp:Button ID="ButtonSubmit" runat="server" Text="Submit" 
                    style="margin-left: 125px; margin-right: 0; margin-top: 20px;" 
                    onclick="ButtonSubmit_Click" />
            </li>
     <li> </li>
    </ul>
    </div>
</div>
</asp:Content>
